package com.gdpu.service;

import com.gdpu.api.CommonPage;
import com.gdpu.model.PmsCategory;

import java.util.List;

public interface PmsCategoryService {

    CommonPage list(Integer pageNum, Integer pageSize);

    PmsCategory get(Integer id);

    int add(PmsCategory pmsCategory);

    int delete(Integer id);

    int update(PmsCategory pmsCategory);

    CommonPage listByParentId(Integer id, int pageNum, int pageSize);

    List<PmsCategory> getCategorysById(Integer id);
}
